package com.zed.code.mapping;


import com.zed.code.model.Powerstation;
import com.zed.code.model.PowerstationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerstationMapper {
    long countByExample(PowerstationExample example);

    int deleteByExample(PowerstationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Powerstation record);

    int insertSelective(Powerstation record);

    List<Powerstation> selectByExample(PowerstationExample example);

    Powerstation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Powerstation record, @Param("example") PowerstationExample example);

    int updateByExample(@Param("record") Powerstation record, @Param("example") PowerstationExample example);

    int updateByPrimaryKeySelective(Powerstation record);

    int updateByPrimaryKey(Powerstation record);
}